import { initGlobalState } from 'legions-micro-service';
import { fullProvider,lazyInject,legionsContainer } from 'legions-control-container';
import { UserInfoEntity } from '../models/userInfoEntity';
const { onGlobalStateChange, setGlobalState } = initGlobalState({
    user: null,
})
onGlobalStateChange((value,prev) => console.log('[onGlobalStateChange - master]:',value,prev));
@fullProvider(LegionsMicroservice)
class LegionsMicroservice{

    constructor(props) {
        
    }
    onGlobalStateChange = onGlobalStateChange;
    setGlobalState = setGlobalState;
 
}